﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.OleDb;
using System.Data;

namespace DAL
{
    public class LoadCmbLopHoc_DAL
    {
        static OleDbConnection KN;
        public static DataTable LoadCmbLopHoc()
        {
            //Lenh truy van
            string sChuoiTruyVan = " Select * from Lop";
            //Chuoi ket noi
            KN = DataProvider.KetNoi();
            DataTable dtCmbLopHoc = DataProvider.LayDuLieuDataTable(sChuoiTruyVan, KN);
            //Ngat ket noi
            DataProvider.DongKetNoi(KN);
            return dtCmbLopHoc;
        }

        
    }
}
